﻿#include "BaseConfig.h"

#include "qlineedit.h"

#include <QVBoxLayout>

BaseConfig::BaseConfig(QWidget *parent)
    : QWidget{parent}
{
    date = new QLineEdit(this);
    title = new QLineEdit(this);
    QVBoxLayout *hbl = new QVBoxLayout();
    date->setText(setting.GetStringValue(HLD_DATE));
    title->setText(setting.GetStringValue(HLD_TITLE));
    hbl->addWidget(title);
    hbl->addWidget(date);
    setLayout(hbl);
}

QString BaseConfig::PluginName()
{
    return "基本设置";
}
